From c3381a8dac44ad27e08a578b98dc4d500debe4e0 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 16 Nov 2005 15:25:22 +0100 Subject: [PATCH] Downgrade the failure to change the iptables settings from fatal to an error. Even though we are checking for a working iptables installation, it is still possible that the user does not have the PHYSDEV matcher installed, so just issue a diagnostic instead. Signed-off-by: Ewan Mellor --- tools/examples/vif-common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/examples/vif-common.sh b/tools/examples/vif-common.sh index 9a0640b701..f19a9790ff 100644 --- a/tools/examples/vif-common.sh +++ b/tools/examples/vif-common.sh @@ -63,7 +63,9 @@ function frob_iptable() fi iptables "$c" FORWARD -m physdev --physdev-in "$vif" "$@" -j ACCEPT || - fatal "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT failed" + log err \ + "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT failed. +If you are using iptables, this may affect networking for guest domains." } -- 2.30.2